<h1>

	<?php if( _u() ) : echo $this->getOptions()->process(); endif ?>

	<?php echo _s($this->getUser()->getFullName()); ?>
	
	<?php
		if( _u() ) :
			echo $this->getSearchBar()->process();
		endif
	?>
</h1>

<div class="User Background">
<div class="BackgroundCleaner"></div>

<div class="User Panel" user_id="<?php echo $this->getUser()->getUserId(); ?>">
	
	<div class="Left Column">
	
		<div class="Image">
			<img src="<?php echo _s($this->getUser()->getImagePath()); ?>" 
			/><?php if( $this->getUser()->isMe() ) : 
			?><a action="user_picture">Change picture</a><?php endif ?>
		</div>
	
		<?php echo $this->getContactsBox()->process(); ?>

		<ul class="Link List">
			<?php if( $this->getUser()->isContactable() ) : ?>
			<?php if( $this->getUser()->isContact() ) : ?>
			<li><a action="contact_remove">Remove from contacts</a></li>
			<?php elseif( $this->getUser()->isAwaitingConfirmation() ) : ?>
			<li><a request_id="<?php echo $this->getUser()->getRequest()->getRequestId(); ?>" action="contact_answer">Answer to request</a></li>
			<?php elseif( !_u()->isAwaitingConfirmation($this->getUser()) ) : ?>
			<li><a action="contact_add">Add as contact</a></li>
			<?php endif ?>
			<?php endif ?>
			<li><a box="true" href="ReportAbuse">Report abuse</a></li>
		</ul>
	</div>
	
	<div class="Right Column">
		
	</div>
	
	<div class="Middle Column">
		<?php echo $this->getTabPane()->process(); ?>
	</div>
	
	
	
	<div style="clear: both"></div>
	
</div>
</div>

